﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Monitor.Core
{
    public interface ISensor
    {
        int Id { get; }
        string Description { get; set; }
        ServiceStatus Ping();
        DateTime LastRefreshTime { get; }
        int Interval { get; set; }        
        ServiceStatus Status { get; }
        string LastError { get; }
    }
}
